package eu.jba.denshijisho;

import android.os.Bundle;
import android.widget.TextView;
import eu.jba.denshijisho.exceptionhandler.ExceptionHandler;

public class ErrorActivity extends AbstractDenshiActivity {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Thread.setDefaultUncaughtExceptionHandler( new ExceptionHandler( this ));
		setContentView(R.layout.activity_error);
		
		((TextView)findViewById(R.id.error)).setText( getIntent().getStringExtra( "error" ) );
	}
}
